package com.practice.pojo.user.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDTO {
    @ApiModelProperty("用户ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("0是男，1是女")
    private Integer sex;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户头像")
    private String icon;

    @ApiModelProperty("个性描述")
    private String notes;

    @ApiModelProperty("出生年月")
    private String birthday;

    @ApiModelProperty("现居住地址")
    private String address;
}
